package ACM;

import java.util.Scanner;

public class Main_11 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            String[] strings = scanner.nextLine().split(" ");
            long sum = 0;
            for (String num : strings) {
                sum = sum + Long.parseLong(num);
            }
            System.out.println(sum);
        }
    }
}
